package com.ruoyi.yl.careSetting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yl.careSetting.domain.YlCareCategory;
import com.ruoyi.yl.careSetting.vo.YlCareCategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 护理类别Mapper接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface YlCareCategoryMapper extends BaseMapper<YlCareCategory> {

    Page<YlCareCategoryVo> queryList(Page<?> page, @Param("entity") YlCareCategoryVo entity);

    List<YlCareCategoryVo> queryList(@Param("entity") YlCareCategoryVo entity);

    YlCareCategoryVo queryById(@Param("id") Long id);

}
